// ActionScript file
import classes.Bola;

import flash.events.MouseEvent;
import flash.geom.Point;

import mx.controls.Alert;
import mx.effects.Move;

private static const SCREEN_WIDTH:int = 600;
private static const SCREEN_HEIGHT:int = 600;
private var bola:Bola;
private var point:Point;

public function Init():void
{
	bola = new Bola(myMove);
	getInitialPosition();
}


private function moverBola(event:MouseEvent) {
	//bola.moveTo(event.localX, event.localY);
	pointTo(x_inicial, y_inicial, event.localX as int, event.localY as int);
}